stylecontext: Handle theme changes for cached styles
authorBenjamin Otte <otte@redhat.com>
Wed, 7 Jan 2015 17:06:59 +0000 (18:06 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 7 Jan 2015 17:06:59 +0000 (18:06 +0100)
commit29984c5282d1b47345b5b6627f796aa6cb34c752
tree119ab98b0558f60f5bbb2b89ead99b3aa378c9e3
parentbc07a540c7ab25326c7714f6739b8f4745c55a91
stylecontext: Handle theme changes for cached styles

We need to clear the cache manually on full revalidates because
_gtk_css_change_for_child() will clear the full revalidation flags.
And then gtk_style_context_update_cache() will not do the right thing
(which is to clear itself).
gtk/gtkstylecontext.c